/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.excel.XlAxisGroup;
import com.bedatadriven.mso.excel.XlChartType;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.Series*/
public class Series extends JavaScriptObject {

	protected Series() { }
	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

  public final XlAxisGroup getAxisGroup() {
    return XlAxisGroup.valueOf(_getAxisGroup());
  }

	private native final int _getAxisGroup()/*-{
		return this.AxisGroup;
	}-*/;

  public final void setAxisGroup(XlAxisGroup group) {
    _setAxisGroup(group.getValue());
  }

	private native void _setAxisGroup(int value)/*-{
		this.AxisGroup = value;
	}-*/;

	public native final ChartBorder getBorder()/*-{
		return this.Border;
	}-*/;

	public native final void clearFormats()/*-{
		return this.ClearFormats( );
	}-*/;

	public native final void copy()/*-{
		return this.Copy( );
	}-*/;

	public native final Object dataLabels( Object index)/*-{
		return this.DataLabels( index);
	}-*/;

	public native final void delete()/*-{
		return this.Delete( );
	}-*/;

	public native final void errorBar(int direction, int include, int type,  Object amount,  Object minusValues)/*-{
		return this.ErrorBar( direction, include, type, amount, minusValues);
	}-*/;

	public native final ErrorBars getErrorBars()/*-{
		return this.ErrorBars;
	}-*/;

	public native final int getExplosion()/*-{
		return this.Explosion;
	}-*/;

	public native final void setExplosion(int value)/*-{
		this.Explosion = value;
	}-*/;

	public native final String getFormula()/*-{
		return this.Formula;
	}-*/;

	public native final void setFormula(String value)/*-{
		this.Formula = value;
	}-*/;

	public native final String getFormulaLocal()/*-{
		return this.FormulaLocal;
	}-*/;

	public native final void setFormulaLocal(String value)/*-{
		this.FormulaLocal = value;
	}-*/;

	public native final String getFormulaR1C1()/*-{
		return this.FormulaR1C1;
	}-*/;

	public native final void setFormulaR1C1(String value)/*-{
		this.FormulaR1C1 = value;
	}-*/;

	public native final String getFormulaR1C1Local()/*-{
		return this.FormulaR1C1Local;
	}-*/;

	public native final void setFormulaR1C1Local(String value)/*-{
		this.FormulaR1C1Local = value;
	}-*/;

	public native final boolean getHasDataLabels()/*-{
		return this.HasDataLabels;
	}-*/;

	public native final void setHasDataLabels(boolean value)/*-{
		this.HasDataLabels = value;
	}-*/;

	public native final boolean getHasErrorBars()/*-{
		return this.HasErrorBars;
	}-*/;

	public native final void setHasErrorBars(boolean value)/*-{
		this.HasErrorBars = value;
	}-*/;

	public native final Interior getInterior()/*-{
		return this.Interior;
	}-*/;

	public native final ChartFillFormat getFill()/*-{
		return this.Fill;
	}-*/;

	public native final boolean getInvertIfNegative()/*-{
		return this.InvertIfNegative;
	}-*/;

	public native final void setInvertIfNegative(boolean value)/*-{
		this.InvertIfNegative = value;
	}-*/;

	public native final int getMarkerBackgroundColor()/*-{
		return this.MarkerBackgroundColor;
	}-*/;

	public native final void setMarkerBackgroundColor(int value)/*-{
		this.MarkerBackgroundColor = value;
	}-*/;

	public native final int getMarkerBackgroundColorIndex()/*-{
		return this.MarkerBackgroundColorIndex;
	}-*/;

	public native final void setMarkerBackgroundColorIndex(int value)/*-{
		this.MarkerBackgroundColorIndex = value;
	}-*/;

	public native final int getMarkerForegroundColor()/*-{
		return this.MarkerForegroundColor;
	}-*/;

	public native final void setMarkerForegroundColor(int value)/*-{
		this.MarkerForegroundColor = value;
	}-*/;

	public native final int getMarkerForegroundColorIndex()/*-{
		return this.MarkerForegroundColorIndex;
	}-*/;

	public native final void setMarkerForegroundColorIndex(int value)/*-{
		this.MarkerForegroundColorIndex = value;
	}-*/;

	public native final int getMarkerSize()/*-{
		return this.MarkerSize;
	}-*/;

	public native final void setMarkerSize(int value)/*-{
		this.MarkerSize = value;
	}-*/;

	public native final int getMarkerStyle()/*-{
		return this.MarkerStyle;
	}-*/;

	public native final void setMarkerStyle(int value)/*-{
		this.MarkerStyle = value;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final void paste()/*-{
		return this.Paste( );
	}-*/;

	public native final int getPictureType()/*-{
		return this.PictureType;
	}-*/;

	public native final void setPictureType(int value)/*-{
		this.PictureType = value;
	}-*/;

	public native final int getPlotOrder()/*-{
		return this.PlotOrder;
	}-*/;

	public native final void setPlotOrder(int value)/*-{
		this.PlotOrder = value;
	}-*/;

  public final Points getPoints() {
    return points(0);
  }

	private native Points points( int index)/*-{
		return this.Points( index);
	}-*/;

	public native final void select()/*-{
		return this.Select( );
	}-*/;

	public native final boolean getSmooth()/*-{
		return this.Smooth;
	}-*/;

	public native final void setSmooth(boolean value)/*-{
		this.Smooth = value;
	}-*/;


  public final Trendlines getTrendlines() {
    return _trendlines(0);
  }

	private native Trendlines _trendlines( int index)/*-{
		return this.Trendlines( index);
	}-*/;

	public native final int getType()/*-{
		return this.Type;
	}-*/;

	public native final void setType(int value)/*-{
		this.Type = value;
	}-*/;

	protected native final int _getChartType()/*-{
		return this.ChartType;
	}-*/;

	public final XlChartType getChartType(){
		return XlChartType.valueOf(_getChartType());
	}
	protected native final void _setChartType( int value)/*-{
		this.ChartType = value;
	}-*/;

	public final void setChartType(XlChartType value){
		_setChartType(value.getValue());
	}
	protected native final void _applyCustomType( int chartType)/*-{
		this.ApplyCustomType( chartType);
	}-*/;

	public final void applyCustomType(XlChartType chartType){
		_applyCustomType(chartType.getValue());
	}
	public native final JavaScriptObject getValues()/*-{
		return this.Values;
	}-*/;

	public native final void setValues( Object value)/*-{
		this.Values = value;
	}-*/;

	public native final JavaScriptObject getXValues()/*-{
		return this.XValues;
	}-*/;

	public native final void setXValues( Object value)/*-{
		this.XValues = value;
	}-*/;

	public native final JavaScriptObject getBubbleSizes()/*-{
		return this.BubbleSizes;
	}-*/;

	public native final void setBubbleSizes( Object value)/*-{
		this.BubbleSizes = value;
	}-*/;

	public native final int getBarShape()/*-{
		return this.BarShape;
	}-*/;

	public native final void setBarShape(int value)/*-{
		this.BarShape = value;
	}-*/;

	public native final boolean getApplyPictToSides()/*-{
		return this.ApplyPictToSides;
	}-*/;

	public native final void setApplyPictToSides(boolean value)/*-{
		this.ApplyPictToSides = value;
	}-*/;

	public native final boolean getApplyPictToFront()/*-{
		return this.ApplyPictToFront;
	}-*/;

	public native final void setApplyPictToFront(boolean value)/*-{
		this.ApplyPictToFront = value;
	}-*/;

	public native final boolean getApplyPictToEnd()/*-{
		return this.ApplyPictToEnd;
	}-*/;

	public native final void setApplyPictToEnd(boolean value)/*-{
		this.ApplyPictToEnd = value;
	}-*/;

	public native final boolean getHas3DEffect()/*-{
		return this.Has3DEffect;
	}-*/;

	public native final void setHas3DEffect(boolean value)/*-{
		this.Has3DEffect = value;
	}-*/;

	public native final boolean getShadow()/*-{
		return this.Shadow;
	}-*/;

	public native final void setShadow(boolean value)/*-{
		this.Shadow = value;
	}-*/;

	public native final boolean getHasLeaderLines()/*-{
		return this.HasLeaderLines;
	}-*/;

	public native final void setHasLeaderLines(boolean value)/*-{
		this.HasLeaderLines = value;
	}-*/;

	public native final LeaderLines getLeaderLines()/*-{
		return this.LeaderLines;
	}-*/;

	public native final ChartFormat getFormat()/*-{
		return this.Format;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final double getPictureUnit2()/*-{
		return this.PictureUnit2;
	}-*/;

	public native final void setPictureUnit2(double value)/*-{
		this.PictureUnit2 = value;
	}-*/;

	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final void _ApplyDataLabels(int type,  Object legendKey,  Object autoText,  Object hasLeaderLines)/*-{
		return this._ApplyDataLabels( type, legendKey, autoText, hasLeaderLines);
	}-*/;

	public native final void applyDataLabels(int type,  Object legendKey,  Object autoText,  Object hasLeaderLines,  Object showSeriesName,  Object showCategoryName,  Object showValue,  Object showPercentage,  Object showBubbleSize,  Object separator)/*-{
		return this.ApplyDataLabels( type, legendKey, autoText, hasLeaderLines, showSeriesName, showCategoryName, showValue, showPercentage, showBubbleSize, separator);
	}-*/;

	public native final int getPictureUnit()/*-{
		return this.PictureUnit;
	}-*/;

	public native final void setPictureUnit(int value)/*-{
		this.PictureUnit = value;
	}-*/;

}
